//part1:C02:ex2.34.cpp
#include <iostream>

int main(void)
{
    int i = 0, &r = i;
    auto a = r;
    const int ci = i, &cr = ci;
    auto b = ci;
    auto c = cr;
    auto d = &i;
    auto e = &ci;
    auto &g = ci;
    std::cout << a << " " << b << " " << c << " "
        << d << " " << e << " "
        << g << std::endl;
    return 0;
}
